package com.gpframework.common.constant;

/**
 * 品牌常量
 *
 * @author zcl
 */
public final class BrandConstants {

    /**
     * 微信会员端
     */
    public static final String WE_CHAT_MEMBER = "member";

    /**
     * 微信员工端
     */
    public static final String WE_CHAT_EMPLOYEE = "employee";

    /**
     * 公众号
     */
    public static final String WE_CHAT_ADVANCED = "advanced";

    /**
     * 品牌管理员
     */
    public static final String WE_CHAT_BRAND_ADMIN = "brand_admin";

    /**
     * 门店管理员
     */
    public static final String WE_CHAT_STORE_ADMIN = "store_admin";

    /**
     * 异业联盟
     */
    public static final String WE_CHAT_ALLY_USER = "ally_user";

    /**
     * 系统用户默认密码(123)
     */
    public static final String USER_PASSWORD = "$2a$10$x06gftsBnfJRd7V16dJh.eLliFazDSNhaDRd7am.cIHBt4l7Rbk0W";
    /**
     * 显示的密码（123）
     */
    public static final String SHOW_USER_PASSWORD = "XrAOXbN96kM=";

    /**
     * 审核中
     */
    public static final Integer AUDIT = 1;

    /**
     * 审核成功
     */
    public static final Integer AUDIT_SUCCESS = 2;

    /**
     * 审核不通过
     */
    public static final Integer AUDIT_FAIL = 3;

    /**
     * 禁用
     */
    public static final Integer AUDIT_FORBIDDEN = 4;

    /**
     * 是管理员
     */
    public static final Integer IS_ADMIN = 0;

    /**
     * 不是管理员
     */
    public static final Integer NOT_ADMIN = 1;

    /**
     * 门店审核
     */
    public static final String STORE_BUSINESS_TYPE_AUDIT_STR = "门店审核";

    /**
     * 门店购买
     */
    public static final String STORE_BUSINESS_TYPE_BUY_STR = "门店购买";

    /**
     * 门店暂停
     */
    public static final String STORE_BUSINESS_TYPE_SUSPENDED_STR = "门店暂停";

    /**
     * 门店 - 营业中
     */
    public static final String STORE_IN_OPERATION = "10";

    /**
     * 所有数据权限
     */
    public static final String DATA_SCOPE_ALL = "1";

    /**
     * 自定义数据权限
     */
    public static final String DATA_SCOPE_CUSTOM = "2";

    /**
     * 本部门数据权限
     */
    public static final String DATA_SCOPE_THIS_DEPT = "3";

    /**
     * 本部门及以下数据权限
     */
    public static final String DATA_SCOPE_DEPT_LOWER = "4";

    /**
     * 仅自己数据
     */
    public static final String DATA_SCOPE_THIS = "5";

    /**
     * 订单过期时间偏移量
     */
    public static final int ORDER_OVERDUE_TIME = 30;

    /**
     * 缓存过期时间
     */
    public static final Long CACHE_OVERDUE_TIME = 30L;

    /**
     * 获取教练多少天排班的天数
     */
    public static final int COURSE_DAY = 1;

    /**
     * 默认品牌id/门店id
     */
    public static final Long DEFAULT_BRAND_ID = 0L;

    /**
     * 1单人私教
     */
    public static final String PERSONAL_TRAINER_TYPE = "1";

    /**
     * 2多人私教
     */
    public static final String MANY_PEOPLE_TRAINER_TYPE = "2";

    // 密钥
    public final static String secretKey = "#-=ee8eecb81f3a40f4a5a89dbceb9621a2=-#";
    // 向量
    public final static String iv = "fitness#";

    /**
     * 柜子缓存常量
     */
    public static final String CABINET_CACHE_KEY = "cabinet:CABINET_";

    /**
     * 折扣
     */
    public static final Integer DISCOUNT = -1;

    /**
     * 索引
     */
    public static final int DATA_INDEX = 0;

    /**
     * 默认品牌/门店id
     */
    public static final Long DEFAULT_KEY = 0L;

    /**
     * 是否是柜子导入
     */
    public static final int YES = 1;

    /**
     * 可以允许取消的时间
     */
    public static final Long COURSE_CANCEL_TIME = 30L;

    /**
     * 24小时营业时间
     */
    public static final String BUSINESS_HOURS_24 = "00:00-00:00";

    /**
     * 营业起始时间
     */
    public static final String BUSINESS_HOURS_START = "10:00";

    /**
     * 营业结束时间
     */
    public static final String BUSINESS_HOURS_END = "22:00";


    /**
     * 入场提示常量
     */
    public static final String ENTRANCE_MSG = "【%s入场成功】";

    /**
     * 门店到期前多少天提示常量
     */
    public static final Integer STORES_PREPARATION_EXPIRE_PROMPT_DAY = 7;

    /**
     * http请求头数据类型
     */
    public static final String CONTENT_TYPE_JSON = "application/json";
    /**
     * 课程购买包月
     */
    public static final String COURSE_BUY_TYPE_MONTH = "2";

    /**
     * 业务参数类型单选框/模版消息类型
     */
    public static final String INPUT_TYPE_RADIO = "RADIO";

    /**
     * 业务参数类型输入框/模版消息类型
     */
    public static final String INPUT_TYPE_INPUT = "INPUT";

    /**
     * 业务参数类型时间输入框/模版消息类型
     */
    public static final String INPUT_TYPE_DATE = "DATE";

    /**
     * 业务参数类型多选框/模版消息类型
     */
    public static final String INPUT_TYPE_CHECKBOX = "CHECKBOX";

    /**
     * 导入标识
     */
    public static final String IMPORT_KEY = "IMPORT_KEY";

    /**
     * 后台端服务
     */
    public static final String ADMIN_SERVER = "ADMIN_SERVER";
    /**
     * 会员端服务
     */
    public static final String API_SERVER = "API_SERVER";
    /**
     * 员工端服务
     */
    public static final String EMPLOYEE_SERVER = "EMPLOYEE_SERVER";
}
